﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Configuration;
using System.Resources;
using FilesMerger2._0.Properties;

namespace MergeAndExecute._0
{
    public partial class ConnectionSettingsForm : Form
    {
        public ConnectionSettingsForm()
        {
            InitializeComponent();
        }

        private void btnSave_Click(object sender, EventArgs e)
        {
            Settings.Default.ConnectionStr = textBox1.Text;
            Settings.Default.Save();
        }

        private void ConnectionSettingsForm_Load(object sender, EventArgs e)
        {
            try
            {
                if (!String.IsNullOrEmpty(Settings.Default.ConnectionStr))
                    textBox1.Text = Settings.Default.ConnectionStr;
            }
            catch
            {}
        }

        
    }
}
